package com.ruoyi.points.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * points_setting对象 points_setting
 *
 * @author ruoyi
 * @date 2024-08-02
 */
public class PointsSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 积分抵用 */
    @Excel(name = "积分抵用")
    private String pointsCredit;

    /** 下单赠送积分 */
    @Excel(name = "下单赠送积分")
    private String sendPoints;

    /** 积分抵扣上限 */
    @Excel(name = "积分抵扣上限")
    private String upper;

    /** 积分冻结(天) */
    @Excel(name = "积分冻结(天)")
    private String blocking;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPointsCredit(String pointsCredit)
    {
        this.pointsCredit = pointsCredit;
    }

    public String getPointsCredit()
    {
        return pointsCredit;
    }
    public void setSendPoints(String sendPoints)
    {
        this.sendPoints = sendPoints;
    }

    public String getSendPoints()
    {
        return sendPoints;
    }
    public void setUpper(String upper)
    {
        this.upper = upper;
    }

    public String getUpper()
    {
        return upper;
    }
    public void setBlocking(String blocking)
    {
        this.blocking = blocking;
    }

    public String getBlocking()
    {
        return blocking;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointsCredit", getPointsCredit())
            .append("sendPoints", getSendPoints())
            .append("upper", getUpper())
            .append("blocking", getBlocking())
            .toString();
    }
}
